package info.douyi.dps.mapper;

import info.douyi.dps.model.Pest;
import info.douyi.dps.model.PestExample;
import info.douyi.dps.model.PestWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PestMapper {
    long countByExample(PestExample example);

    int deleteByExample(PestExample example);

    int deleteByPrimaryKey(Integer pid);

    int insert(PestWithBLOBs row);

    int insertSelective(PestWithBLOBs row);

    List<PestWithBLOBs> selectByExampleWithBLOBs(PestExample example);

    List<Pest> selectByExample(PestExample example);

    PestWithBLOBs selectByPrimaryKey(Integer pid);

    int updateByExampleSelective(@Param("row") PestWithBLOBs row, @Param("example") PestExample example);

    int updateByExampleWithBLOBs(@Param("row") PestWithBLOBs row, @Param("example") PestExample example);

    int updateByExample(@Param("row") Pest row, @Param("example") PestExample example);

    int updateByPrimaryKeySelective(PestWithBLOBs row);

    int updateByPrimaryKeyWithBLOBs(PestWithBLOBs row);

    int updateByPrimaryKey(Pest row);
}